package com.yao.shop.mapper;

import com.yao.shop.pojo.SysRoleMenu;
import com.yao.shop.pojo.SysUserRole;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Date: 2020/11/13 21:42
 * @Version 1.0
 */
@Component
public interface SysRoleMenuMapper {

    void saveBatch(List<SysRoleMenu> roleMenuList);

    void deleteByRoleId(Long roleId);

    List<SysRoleMenu> getByRoleId(Long id);
}
